package com.xuanyuanxinyu.core.listener

/**
 * @FileName:ItemClickListener
 * @Description:item事件点击监听Listener
 * @author ken.luo
 * @date 2023/4/4
 * @version V1.0
 * @email 424533553@qq.com
 * @param <T> 数据源类型泛型
 */
interface ItemClickListener<T> {
    /**
     * 点击事件回调
     */
    fun onItemClick(position: Int, t: T)
}

interface ItemLongClickListener<T> {
    /**
     * 点击事件回调
     */
    fun onItemLongClick(position: Int, t: T)
}